package com.cnblogs.leizia.crm.commen;

/**
 * 请求地址uri统一管理
 * @author leizi
 * @create 2021-02-20 11:29
 */
public enum RequestUri {
    /******用户请求uri******/
    USER_LOGIN("/settings/user/login.do"),

    /******市场活动请求uri******/
    ACTIVITY_GET_USER_LIST("/workbench/activity/getUserList.do"),
    ACTIVITY_SAVE("/workbench/activity/save.do"),
    ACTIVITY_PAGE_LIST("/workbench/activity/pageList.do"),
    ACTIVITY_DELETE("/workbench/activity/delete.do"),
    ACTIVITY_EDIT("/workbench/activity/editGetUserListAndActivity.do"),
    ACTIVITY_UPDATE("/workbench/activity/update.do"),
    ACTIVITY_FORWARD_DETAIL("/workbench/activity/detail.do"),

    /******市场活动备注请求uri******/
    ACTIVITY_REMARK_GET_LIST("/workbench/activity/getRemarkListByActivityId.do"),
    ACTIVITY_REMARK_PAGE_LIST("/workbench/activity/pageListRemark.do"),
    ACTIVITY_REMARK_DELETE("/workbench/activity/deleteRemark.do"),
    ACTIVITY_REMARK_ADD("/workbench/activity/addRemark.do"),
    ACTIVITY_REMARK_EDIT("/workbench/activity/editRemark.do"),

    /******线索模块请求uri******/
    CLUE_GET_USER_LIST("/workbench/clue/getUserList.do"),
    CLUE_SAVE("/workbench/clue/save.do"),
    CLUE_PAGE_LIST("/workbench/clue/pageList.do"),
    CLUE_DETAIL("/workbench/clue/detail.do"),
    CLUE_GET_ACTIVITY_LIST("/workbench/clue/getActivityList.do"),
    CLUE_UNRELEVANCE("/workbench/clue/unRelevance.do"),
    CLUE_ACTIVITYLIST("/workbench/clue/getClueActivityList.do"),
    CLUE_SAVE_RELEVANCE("/workbench/clue/saveRelevance.do"),
    CLUE_SEARCH_ACTIVITYLIST("/workbench/clue/searchActivityList.do"),
    CLUE_CONVERT("/workbench/clue/createTransaction.do"),

    /*******交易模块请求uri******/
    TRAN_ADD("/workbench/transaction/create.do"),
    TRAN_GET_CUSTOMER_NAME("/workbench/transaction/getCustomerName.do"),
    TRAN_SAVE("/workbench/transaction/save.do"),
    TRAN_SEARCH_ACTIVITYLIST("/workbench/transaction/searchActivityList.do"),
    TRAN_SEARCH_CONTACTSLIST("/workbench/transaction/searchContactsList.do"),
    TRAN_DETAIL("/workbench/transaction/detail.do"),
    TRAN_TRAN_HISTORY_LIST("/workbench/transaction/tranHistoryList.do"),
    TRAN_TRAN_CHANGE_STAGE("/workbench/transaction/changeStage.do"),

    /*******图表模块请求uri******/
    CHART_GET_LIST("/workbench/chart/transaction/getCharts.do")
    ;

    /**
     * 请求地址uri
     */
    private String uriPath;

    RequestUri() {
    }

    RequestUri(String uriPath) {
        this.uriPath = uriPath;
    }

    public String getUriPath() {
        return uriPath;
    }

    public void setUriPath(String uriPath) {
        this.uriPath = uriPath;
    }
}
